package edu.thu.studio.ormdesigner.model.orm.table;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import edu.thu.studio.ormdesigner.model.AbstractObjectModel;

@XStreamAlias("ref-column")
public class RefColumn extends AbstractObjectModel {
    
    private static final long serialVersionUID = 6998985022414351214L;
    
    @XStreamAsAttribute
    private String from;
    
    @XStreamAsAttribute
    private String to;
    
    public String getFrom() {
        return from;
    }
    
    public void setFrom(String from) {
        this.from = from;
    }
    
    public String getTo() {
        return to;
    }
    
    public void setTo(String to) {
        this.to = to;
    }
    
}
